Answer:

Both are double.

Cosine Documentation

Here is some of the documentation:

cos

public static double cos(double a)

Returns the trigonometric cosine of an angle.

The angle a must be expressed in radians. This is so common in math and programming sometimes the documentation does not mention it.

QUESTION 20:

(Math Review: ) Can angles in radian mesure be converted to degrees?